package com.ccx.library.module.parallel.service;

import com.ccx.library.module.role.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleService {

    Boolean SaveUR(String userId, String roleId);

    Role QueryByUsername(@Param("username") String username);

    List<Role> QueryDownRole(@Param("level") Integer level);
}
